package com.itheima.dao;

import com.itheima.bean.Menu;
import com.itheima.bean.Restaurant;

import java.util.List;

//餐厅操作接口
public interface RestaurantDao {
    //浏览指定名称餐厅
    public Restaurant browseRestaurant(String name) throws Exception;
    //浏览所有餐厅
    public List<Restaurant> browseRestaurants() throws Exception;
    //添加餐厅
    public List<Restaurant> addRestaurant(String name, List<Menu> menuList) throws Exception;
}

